package com.spring.courseapi.web.dao;

import java.util.HashMap;
import java.util.List;
import java.math.BigDecimal;

import com.spring.courseapi.web.model.*;



public interface CourseApiMapper {
	List<CourseType> getCourseTypeList();
	List<Course> getCourseList(HashMap hm);
	List<CourseOpen> getCourseOpenList(HashMap hm);
	List<CourseOpenDetail> getCourseOpenDetailList(HashMap hm);
	List<MyCourseOpenDetail> getMyCourseOpenDetailList(HashMap hm);
	
	
	int appointCourseCheckCourseId(HashMap hm);
	int appointCourseCheckAppointment(HashMap hm);
	int appointCourseCheckPhone(HashMap hm);
	int appointCourse(HashMap hm);
	List<CourseAppointment> getCourseAppointmentList(HashMap hm);
	
	int cancelCourseCheckId(String course_appointment_id);
	int cancelCourse(String course_appointment_id) ;
	int parentCommentCourse(HashMap hm);
	
	List<HashMap<String,Object>> getCourseByID(HashMap hm);
	List<HashMap<String,Object>> getTeacherByID(HashMap hm);
	
	List<HashMap<String,Object>> getToDayCourse(HashMap hm);
}
